Add some theming for csd popups
authorMatthias Clasen <mclasen@redhat.com>
Fri, 6 Jun 2014 22:00:57 +0000 (18:00 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 9 Jun 2014 18:16:12 +0000 (14:16 -0400)
Not attempt to make this look good, just to demonstrate
that themes can in fact do it.

https://bugzilla.gnome.org/show_bug.cgi?id=731187

gtk/resources/theme/gtk-default.css

index 1c4a9e312186c28efd5d0979767cf21fa68b4d9a..e27ba412a7c1d444438a825af0e1cd7db5fa9957 100644 (file)
@@ -850,6 +850,24 @@ GtkCalendar.button:hover {
   margin: 10px;
 }
 
+.window-frame.tooltip.csd {
+  border-radius: 1px 1px 0 0;
+  box-shadow: none;
+  margin: 0px;
+}
+
+.window-frame.popup.csd {
+  border-radius: 1px 1px 0 0;
+  box-shadow: 0 1px 1px 1px alpha(black, 0.5);
+  margin: 0px;
+}
+
+.window-frame.popup {
+  border-color: darker (@bg_color);
+  border-width: 1px;
+  border-style: solid;
+}
+
 .window-frame.tiled {
   border-radius: 0;
   background-color: @bg_color;